package com.stylefeng.guns.modular.system.service;

import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.baomidou.mybatisplus.service.IService;
import com.stylefeng.guns.common.persistence.model.TBill;
import com.stylefeng.guns.common.persistence.model.TOrder;
import com.stylefeng.guns.common.persistence.model.TOrderFee;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiejie123
 * @since 2018-01-28
 */
public interface ITOrderFeeService extends IService<TOrderFee> {

    List<Map<String,Object>> selectOrderFeeList(Pagination page, Map param);


    List<Map<String,Object>> selectOrderFeeOffList(Pagination page, Map param);

    List<Map<String,Object>> selectFeeList(List<Integer> ids);

    List<Map<String,Object>> getFee(String deptid);

    List<Map<String,Object>> selectOrderFeeOffSum(Map param);

    List<Map<String,Object>> selectOrderFeeLSum(Map param);

    int updateOrderFee(String pay_mode,String order_id, String use_object);

    int updateOrderFee(String order_id, String use_object, TBill bill,TOrder order,String xj);

    void updateSelfLiftFees(List<TOrder> list, TBill bill, String xj);


}
